const obj = new Proxy({
    count: 0
}, {
    get(target, key, receiver) {
        console.log(target, key, receiver)
        return Reflect.get(target, key, receiver)
    },
    set(target, propKey, value, receiver) {
        console.log(target, propKey, value, receiver)
        return Reflect.set(target, propKey, value, receiver)
    }
})

obj.count++